package com.sskj.market.bean;

/**
 * @author :budou
 * Package :com.sskj.market.bean
 * Date :2019/7/30 9:52
 * Describe :默认地址bean
 * Remark :
 */
public class DefaultAddressBean {


    /**
     * code : 200
     * data : {"id":34,"uid":348,"name":App.INSTANCE.getString(R.string.market_defaultAddressBean1),"phone":"13598265489","province":App.INSTANCE.getString(R.string.market_myAddressBean1),"city":App.INSTANCE.getString(R.string.market_myAddressBean2),"country":App.INSTANCE.getString(R.string.market_myAddressBean3),"detail":App.INSTANCE.getString(R.string.market_defaultAddressBean5),"is_default":1,"created_at":"2019-07-29 17:24:29","updated_at":"2019-07-29 17:24:29","deleted_at":null}
     * msg : 获取成功
     */

    private int code;
    private DataBean data;
    private String msg;

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public static class DataBean {
        /**
         * id : 34
         * uid : 348
         * name : 测试1123
         * phone : 13598265489
         * province : 河南省
         * city : 郑州市
         * country : 金水区
         * detail : 绿地之窗
         * is_default : 1
         * created_at : 2019-07-29 17:24:29
         * updated_at : 2019-07-29 17:24:29
         * deleted_at : null
         */

        private int id;
        private int uid;
        private String name;
        private String phone;
        private String province;
        private String city;
        private String country;
        private String detail;
        private int is_default;
        private String created_at;
        private String updated_at;
        private Object deleted_at;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public int getUid() {
            return uid;
        }

        public void setUid(int uid) {
            this.uid = uid;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getPhone() {
            return phone;
        }

        public void setPhone(String phone) {
            this.phone = phone;
        }

        public String getProvince() {
            return province;
        }

        public void setProvince(String province) {
            this.province = province;
        }

        public String getCity() {
            return city;
        }

        public void setCity(String city) {
            this.city = city;
        }

        public String getCountry() {
            return country;
        }

        public void setCountry(String country) {
            this.country = country;
        }

        public String getDetail() {
            return detail;
        }

        public void setDetail(String detail) {
            this.detail = detail;
        }

        public int getIs_default() {
            return is_default;
        }

        public void setIs_default(int is_default) {
            this.is_default = is_default;
        }

        public String getCreated_at() {
            return created_at;
        }

        public void setCreated_at(String created_at) {
            this.created_at = created_at;
        }

        public String getUpdated_at() {
            return updated_at;
        }

        public void setUpdated_at(String updated_at) {
            this.updated_at = updated_at;
        }

        public Object getDeleted_at() {
            return deleted_at;
        }

        public void setDeleted_at(Object deleted_at) {
            this.deleted_at = deleted_at;
        }

        @Override
        public String toString() {
            return "DataBean{" +
                    "id=" + id +
                    ", uid=" + uid +
                    ", name='" + name + '\'' +
                    ", phone='" + phone + '\'' +
                    ", province='" + province + '\'' +
                    ", city='" + city + '\'' +
                    ", country='" + country + '\'' +
                    ", detail='" + detail + '\'' +
                    ", is_default=" + is_default +
                    ", created_at='" + created_at + '\'' +
                    ", updated_at='" + updated_at + '\'' +
                    ", deleted_at=" + deleted_at +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "DefaultAddressBean{" +
                "code=" + code +
                ", data=" + data +
                ", msg='" + msg + '\'' +
                '}';
    }
}
